package com.lagou.service;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * Created by IntelliJ IDEA.
 * User: Yangdx.
 * Date: 2020/7/25.
 * Time: 8:23.
 * Tags: Code, we are serious.
 */
//@FeignClient(value = "email-service", path = "/email", fallback = EmailServiceClientFallback.class)
public interface EmailServiceClient {
    @GetMapping("/{email}/{code}")
    public Boolean sendMail(@PathVariable("email") String email, @PathVariable("code") String checkCode);
}
